package com.hymall.service.wx;

import com.hymall.bean.bo.WxGoodsListBO;
import com.hymall.bean.common.BasePageInfo;
import com.hymall.bean.common.CommonData;
import com.hymall.bean.vo.WxGoodsCategoryVO;
import com.hymall.bean.vo.WxGoodsDetailVO;
import com.hymall.bean.vo.WxGoodsListVO;

/**
 * @author: 章鹏
 * @description 小程序商品模块
 * @date: 2022/7/19 19:11
 */
public interface WxGoodsService {
    int getOnSaleNum();

    WxGoodsDetailVO getGoodsDetail(int goodsId);

    WxGoodsCategoryVO getCategories(Integer categoryId);

    CommonData getRelatedGoods(int goodsId);

    WxGoodsListVO list(BasePageInfo basePageInfo, WxGoodsListBO wxGoodsListBO);

    void addHistory(WxGoodsListBO wxGoodsListBO);
}
